{block name="main"}
<input type="checkbox" {$attr} {$isChecked} name="{$field}" class="{$class}"
       lay-skin="switch" lay-text="{$text}" lay-filter="list_switch"
       data-field="{$field}" data-id="{$row_id}" data-on="{$on}" data-off="{$off}" id="{$elem_id}" data-url="{$url}"
>
{/block}
{block name="style"}{/block}
{block name="js"}{/block}
